﻿ @model IEnumerable<Cadcam7Moddel.Model.SubjectLS>

@foreach(var s in Model)
{
  <div class="menu_title">@s.Name</div>
   <div class="right_menu">
        <ul>
            @foreach(var m in s.MonLS)
            {
                    <li><a href="@Url.Action("XemMon", "Mon", new { ID=m.ID})">@m.Name</a>
                        <ul>
                            @foreach(var n in m.Mons)
                            {
                            <li><a href="@Url.Action("XemMon", "Mon", new { ID=n.ID})">@n.Name</a></li>
                            }
                        </ul>
                    </li>
            }                 	
                                    	
            
                                    
        </ul>
    </div>   
}
